<div class="user_header user_files w100 ">
   <div class="block2 mr20">

      <ul class="layui-nav layui-nav-tree layui-inline w100 " lay-bar="disabled">
         <li class="layui-nav-item">
            <a href="active_list.html"><img class="b1" src="images/list.png"><span>活动列表</span></a>

         </li>
         <li class="layui-nav-item layui-this">
            <a href="active_role.html"><img class="b1" src="images/list2.png"><span>权限管理</span></a>
         </li>


      </ul>
   </div>
</div>

<script>
   layui.use('element', function () {
      var element = layui.element;
      element.init();
   });
   $(document).on('click', '[data-href]', function () {
      window.location.href = $(this).attr('data-href')
   })
</script>